From nitrate determination using microfluidic sensors to photocatalytic process intensification