Seal them in a plastic bag with a bar of deodorant soap for a couple of weeks. You need either Dial or Safeguard deodorant soap. This also works for books.
I bought a couple of bolts of a fusible interfacing from an auction that smelled of cigarette smoke and the deodorant soap took the smell out.