Biosensors based on enzyme inhibition