Controlled synthesis of silver phosphate crystals with high photocatalytic activity and bacteriostatic activity