Deposition of metallic coatings and microscopic mechanical investigation