Perceived social support and its impact on depression and health-related quality of life: a comparison between cancer patients and general population