Integration of circadian and environmental information during signalling to chloroplasts