A low-power dynamic ternary full adder using carbon nanotube field-effect transistors