A regenerable microfluidic device with integrated valves and thin-film photodiodes for rapid optimization of chromatography conditions