Chemical Synthesis of Functional Poly(4-hydroxybutyrate) with Controlled Degradation via Intramolecular Cyclization