A p-spin high-pass filter using radiofrequency field gradients for homonuclear magnetic resonance experiments