A thermomechanical framework for analysis of microstructural evolution: application to olivine rocks at high temperature