Elastic, thermodynamic, electronic and optical properties of U2Ti