Assessment of depression among cancer patients: the role of pain, cancer type and treatment