Larval life history and anti-predator strategies are affected by breeding phenology in an amphibian