how long does it take to train for a ultra marathon