Ionic liquids assisted preparation of BiPO4 photocatalyst with enhanced photocatalytic activity for tetracycline and rhodamine B removal.