Synthesis and photocatalytic activity of g-C3N4/BiOI/BiOBr ternary composites