A new study on sleep is shedding light on who gets a better night's rest, men or women.