Degradation of magnesium-ion battery anodes by galvanic replacement reaction in all-phenyl complex electrolyte