The research is clear: Talking to yourself is an effective way to influence our emotions and change behavior. Here’s how to do it.