Distinguishing two groups of flavin reductases by analyzing the protonation state of an active site carboxylic acid