Phase-Controlled Electrochemical Activity of Epitaxial Mg-Spinel Thin Films.