Comparative health system performance in six middle-income countries: cross-sectional analysis using World Health Organization study of global ageing and health