Controlled synthesis and photocatalytic properties of Ag3PO4 microcrystals