Theoretical investigation of carbon nanotube devices for millimeter/submillimeter wave analog circuits