Apparatus for phase transformation studies at high pressures and temperatures