A microfabricated flow chamber for optical measurements in fluids