The effects of inequality on health care