Doctors warn people who sleep in presence of light