Sustaining healthy friendships throughout your life can reap long-term dividends for both your health and your finances.