People who look on the bright side are more likely to live longer, says a new study. But how can you make your outlook more positive?