Structure and function of a regulated archaeal triosephosphate isomerase adapted to high temperature.