A high temperature X-ray diffractometer for operation up to 2500 C