The duration of light and photoperiodic responses