Strong friendships can do much more than improve your mood.