Socioeconomic and health effects on mortality declines in developing countries