Functional properties of ceramic-Ag nanocomposite coatings produced by magnetron sputtering