Effect of divalent metal cations on hydroxyapatite dissolution kinetics relevant to dental caries and erosion