Sociodemographic risk factors of perinatal depression: a cohort study in the public health care system.