Three-color resonance ionization of titanium sputtered from metal and oxides for cosmochemical analyses: measurements of selectivity and isotope anomalies