Synthesis of mesoporous anatase TiO2 with a combined template method and photocatalysis