New study reveals the secret to getting a better night’s sleep