Fluorescence analysis of chemical microenvironments and their impact upon performance of immobilized enzyme.