Dependence of the indirect energy gap of GaP on quasihydrostatic pressure and phase transition