Ionic properties in acetonitrile + water mixtures and dimethylformamide + water mixtures