The case for pessimism: when negative thinking leads to positive outcomes