First-principles study of elastic and thermodynamic properties of UO2, γ-UO3 and α-U3O8