Formation of an anataselike phase in silica under anisotropic stress: An ab initio constant-pressure study