Caffeine's half-life is longer than most people plan around — here's the trial that measured a 6pm coffee's effect on sleep at midnight.