Patrick Dempsey Dishes on How Counseling and "Lots of Sex" Helped Save His Marriage