Quantum-mechanical analysis of the equation of state of anatase TiO 2