Thermoelectric Hall conductivity and figure of merit in Dirac/Weyl materials