A versatile multifaceted resistive switching memory activated by light and ion irradiation in poly (3-octylthiophene)-zinc oxide hybrids