An investigation of the synthesis and thermal stability of poly(dl-lactide)