Switching memory cells constructed on plastic substrates with silver selenide nanoparticles