Ternary logic implemented on a single dopant atom field effect silicon transistor