The magnetic transition, heat capacity, and thermodynamic properties of uranium dioxide from 5 to 350 K†