Text this: Hydrothermal Preparation of Gd3+-Doped Titanate Nanotubes: Magnetic Properties and Photovoltaic Performance