The glass transition behaviour and thermodynamic properties of amorphous polystyrene