Ab initio investigation of the pressure dependences of phonon and dielectric properties for III–V semiconductors