An optical and spectroscopic study of laser-induced sparks to determine available ignition energy