Effect of binding on melting transitions in polymer–diluent systems