There’s more than one reason to aim for a good night’s sleep.