Gender-based approach on the social impact and mental health in Spain during COVID-19 lockdown: a cross-sectional study