Pressure-driven superconductivity in the transition-metal pentatelluride HfTe5