Cavity-enhanced absorption: detection of nitrogen dioxide and iodine monoxide using a violet laser diode