Effects of temperature and pressure on the crystal structure of forsterite