Effect of electrodeposition conditions on structure and mechanical properties of Ni-W/diamond composite coatings