Photoperiodism is a phenomenon related to