Facile synthesis of porous Ag3PO4 photocatalysts with high self-stability and activity