CdTe hybrid pixel detector for imaging with thermal neutrons.