Biopolymer-based hydrogels for encapsulation of photocatalytic TiO2 nanoparticles prepared by the freezing/thawing method