Switching behavior of plasma polymer films containing silver nanoparticles