TiO2/g-C3N4 heterojunctions: In situ fabrication mechanism and enhanced photocatalytic activity