Nanotube Optoelectronic Memory Devices