Plasma and gaseous diagnostics with a tuned GaAs laser diode