Improvement of plasma parameters by titanium gettering in the JFT-2 tokamak