In vivo chemical sensors for intensive-care monitoring