Electrical discharge surface alloying