17O, 13C and 1H nuclear magnetic resonance investigations on ion–solvent interactions in N,N-dimethylformamide