CMOS-compatible electro-optical SRAM cavity device based on negative differential resistance