Corrosion and wear properties of multipurpose coatings deposited by ion-beam-assisted deposition