Marriages built on friendship help most with mid-life stress, study finds