Galactosylation and glucosylation by use of β-galactosidase