Determination of electron densities by diode-laser absorption spectroscopy in a pulsed ICP