Nanostructured coatings for biomaterials