Structural analysis of free and enzyme-bound amaranth alpha-amylase inhibitor: classification within the knottin fold superfamily and analysis of its functional flexibility.