The sexual and reproductive health of women with mental illness: a primary care registry study