Nanostructured layers and coating formed by ion-plasma fluxes in titanium alloys and steels