Electrochemical machining combined with mechanical working