Research Article Hydrothermal Preparation of Gd 3+ -Doped Titanate Nanotubes: Magnetic Properties and Photovoltaic Performance