Carbon Nanotube Based Multifunctional Ambipolar Transistors for AC Applications