Structure of the branching thioesterase from oocydin biosynthesis