Mexican president pledges better health care after pandemic