One-step synthesis of the nanostructured AgI/BiOI composites with highly enhanced visible-light photocatalytic performances.