Tribological performances of textured surfaces prepared by electrodeposition method