Roles of type II thioesterases and their application for secondary metabolite yield improvement