Crystal structure of a putative thioesterase