Structural and thermodynamic properties of AlB2 compound