Optimism can make you a more successful person, research says