Depressive reactions to failure in a naturalistic setting: a test of the hopelessness and self-esteem theories of depression