Synthetic and Biosynthetic Studies on Heterocycle Formation in Polyketide Biosynthesis