how to drink coffee without affecting sleep quality