Timing of avian reproduction in unpredictable environments