Visualization of electrochemically driven solid-state phase transformations using operando hard X-ray spectro-imaging