NAND and NOR logic-in-memory comprising silicon nanowire feedback field-effect transistors