Is social media giving you nightmares? A new study finds that time online may be linked to poor sleep hygiene