Production of poly(3-hydroxybutyrate) by photosynthetic microorganisms