Titanium corrosion in simulated hydrometallurgical leaching solutions in the presence of solids