Optimism, pessimism and self-efficacy in female cancer patients