Optimization of Fluorescence ph Sensors for Reaction Monitoring in a Multi-Input Microfluidic Device