Double regulation of bismuth and halogen source for the preparation of bismuth oxybromide nanosquares with enhanced photocatalytic activity.