Computational design of Mg alloys with minimal galvanic corrosion