Improve grouping of zeros with poles for SOSFilters

SOSFilter conversion now checks that complex poles and zeros form complex conjugate pairs, and I've tweaked the algorithm for pairing so that it matches MATLAB and added tests.