Millions are tracking every minute of sleep. Experts say the quest for perfect rest may actually be keeping some people awake.