A Nationwide Cohort Study of Nonrandom Mating in Schizophrenia and Bipolar Disorder.