Preparation of nanostructured TiO2-based photocatalyst by controlling the calcining temperature and pH