Impact of COVID-19 pandemic on mental health during pregnancy and postpartum: A cross-sectional study