Synthesis and photocatalytic properties of BiOCl nanowire arrays