Preparation of cross-linked aliphatic polyester and application to thermo-responsive material