Intimate partner violence (IPV) and associated factors: a cross-sectional study in community psychiatry