Nuclear charge distributions of the isotopes 24Mg, 25Mg and 26Mg from elastic electron scattering