A facile nonaqueous route for preparing mixed-phase TiO2 with high activity in photocatalytic hydrogen generation