On the optical absorption and nonlinearity of silica films containing metal nanoparticles