Polymer drug could prevent obesity