Preparation of doped TiO2 nanomaterials and their applications in photocatalysis