“Friendship,” by Lydia Denworth, shows how relationships with others can affect our immune system, mental health and even cardiovascular functions.