which of these lifestyle factors can affect the quality of your sleep?​