Synergistic photocatalytic effect of BiOBr-BiOI heterojunctions due to appropriate layer stacking.