The incidence of public expenditures on health and education