Thermodynamics and diffusion in polymer solutions containing associating species