Evaluation of diamond gauge factor up to 500 °C