Microsystems based on microbial biosensing