Chloride metallurgy: PGM recovery and titanium dioxide production