Training health professionals to detect and support mothers at risk of postpartum depression or infant abuse in the community: a cross-sectional and a before and after study