First principles calculation of the elastic constants and phonon modes of UO2 using GGA + U with orbital occupancy control