Bi-directional controlled release of ibuprofen and Mg(2+) from magnesium alloys coated by multifunctional composite.