Fission barriers of neutron-rich and superheavy nuclei calculated with the ETFSI method