Theoretical study of structural, elastic, electronic properties, and dispersion of optical functions of hexagonal ZnTiO3