How the first transistor worked