Multivalent Mg2+-, Zn2+-, and Ca2+-Ion Intercalation Chemistry in a Disordered Layered Structure