effect of sunlight on weather