The effects of thermal history and composition on the thermodynamic behaviour of helium in tungsten and tungsten-based alloys