Child maltreatment as a social determinant of midlife health-related quality of life in women: do psychosocial factors explain this association?