Correlating surface segregation and microstructural evolution of electrochemically deposited copper