Studies on the mechanism of castanospermine inhibition of α- and β-glucosidases