Semiconductor-to-metal transition in GaP under high pressure