Characterization and stabilization of enzyme biosensors