Implementation of an optical multichannel analyzer controller for nanosecond flash photolysis measurements