Unraveling a two-step oxidation mechanism in electrochemical Cu-MOF synthesis