Crystal structure of a 6-phospho-beta-galactosidase from Bacillus licheniformis