Improving the imprinting effect by optimizing template:monomer:cross-linker ratios in a molecularly imprinted polymer for sulfadimethoxine.