Testing the socioeconomic and environmental determinants of better child-health outcomes in Africa: a cross-sectional study among nations