Mesoporous polymeric semiconductor materials of graphitic-C3N4: general and efficient synthesis and their integration with synergistic AgBr NPs for enhanced photocatalytic performances