Polymeric pseudocrown ethers. II. Complexation with acids in aqueous and organic solvents