Biochemical characterization of a β-N-acetylhexosaminidase from Streptomyces alfalfae and its application in the production of N-acetyl-d-glucosamine.