High-resolution 1H NMR in solids with frequency-switched multiple-pulse sequences