how does light affect melatonin