Ion implantation effects in TiO2 bombarded with protons and deuterons