Surface alloying of miniature components by micro-electrical discharge process