Water and oil proofing agent