Similarities in the circadian clock and photoperiodism in plants