Optical switching of porous anodic aluminum oxide films embedded with silver nanoparticles