Depression and Anxiety Mediate the Associations between Nutritional Status, Functional Capacity, and Quality of Life in Patients with Cancer