Bottom- and top-gate field-effect thin-film transistors with p channels of sintered HgTe nanocrystals