Publication accepted in Sensors and Actuators B: Chemical