Electronic properties of HfTe2