Biocompatible biosensors for reliable metabolite monitoring