Crystal structure and the Mott–Hubbard gap in YTiO3 at high pressure