A versatile access to calystegine analogues as potential glycosidases inhibitors.