Prevalence of anxiety and depression in people with different types of cancer or haematologic malignancies: a cross-sectional study