Synthesis and characterization of a magnetic molecularly imprinted polymer for the selective extraction of nicotine and cotinine from urine samples followed by GC-MS analysis