Improving the cathode/electrolyte interface : from alloying electrodes to refining grain boundaries