Resonant magnetic response of TiO2 microspheres at terahertz frequencies