Insights into the Photovoltaic and Photocatalytic Activity of Cu‐, Al‐, and Tm‐Doped TiO 2