Scientists have discovered the worst — and the best — time of day