A sleep expert says most people drink coffee at the wrong time — and waiting just a matter of minutes could make it work far better