Early study reveals why sleeping pills may not supply the best-quality snooze