Core level spectroscopy of free titanium clusters in supersonic beams