Inhibition of glucosidases and galactosidases by polyols