Fabrication of the hydrogen-evolving photocatalyst with mesoporous structure