Factors associated with short and long sleep