Isotopically selective resonant two-photon ionization in supersonic beams