Study of molecular mechanisms in glycoside hydrolases and transferases by ab initio molecular dinyamics