Amylases and their applications