MgCl and Mg2Cl2: from theoretical and thermodynamic considerations to spectroscopy and chemistry of species with Mg-Mg bonds.