Polymer Phase Separation in a Microcapsule Shell