Towards an autonomous microfluidic sensor for dissolved carbon dioxide determination