Nanocoatings for tribological applications