Nonvolatile Molecular Memory Elements Based on Ambipolar Nanotube Field Effect Transistors