Crystal structure of ancestral apicomplexan malate dehydrogenase with malate.