Quality of life of patients with advanced cancer and acquired immune deficiency syndrome and their family caregivers.