Bioenergy technology for integrated production of polyhydroxybutyrate/bioplastic