7 hours of sleep is ideal amount for middle-aged adults, study shows