High-sensitivity trace-gas monitoring for medical and environmental applications using a semiconductor diode laser