Ternary logic circuit design based on single electron transistors