Transistors programmable by two single electrons