Factors associated with nutritional outcomes in the mother–child dyad: a population-based cross-sectional study