Theoretical superconducting transition temperatures, and the possibility of superconductivity in Mg