Laser-ablation and resonance-ionization spectrometry