New research shows that mental health conditions often affect both partners — and can deeply influence their children’s well-being.