Pre-Pregnancy Diabetes and Perinatal Mental Illness: A Population-Based Latent Class Analysis.