Fabrication of Ag3PO4–PAN composite nanofibers for photocatalytic applications