Method to produce catalytically active nanocomposite coatings