Facile preparation of magnetic molecularly imprinted polymers for the selective extraction and determination of dexamethasone in skincare cosmetics using HPLC.