Questionnaires measuring psychological and physiological variables such as stress and energy , depression and anxiety , optimism , pain , stress , sleep quality , mindfulness , and degree of altered states of consciousness were used .