Design of lactide copolymers as biomaterials