Determination of the crystallinity of TiO2 photocatalysts