Upper and lower critical solution temperature behaviour in polymer blends and its thermodynamic interpretation