Probing the nonlinearities arising in the microwave response of superconductors by intermodulation distortion