High-resolution NMR spectroscopy via simultaneous acquisitions of intermolecular zero- and double-quantum coherence signals in inhomogeneous magnetic fields