You want to be a good friend. A psychologist explains when it’s time to suggest therapy and what to say to make a difference.