Biosynthetic polymers for medical applications