Influence of Nanoparticles of Gold and Silver on Properties of Thin Films of TiO$_2$