Green thin film for stable electrical switching in a low-cost washable memory device: proof of concept