Synthesis, characterization, and theoretical study of an acrylamide-based magnetic molecularly imprinted polymer for the recognition of sulfonamide drugs