Bond length anomaly in TiB2 at high pressure: first principles calculations