An exploration of the relationships between optimism and functional status for cancer patients