Biochemical characterization of a novel β-galactosidase from Paenibacillus barengoltzii suitable for lactose hydrolysis and galactooligosaccharides synthesis.