Phase formation and stability in the Pd/GaP system