Features of spectroscopy and formation process of silica sol-gel films doped with silver nanoparticles