Enzyme catalyzed synthesis of polyesters