Programmable transistors with only two possible levels of programmation