Functional analysis of type II thioesterase of Streptomyces lydicus AS 4.2501