A multilayered microfluidic system with functions for local electrical and thermal measurements