X-ray study with synchrotron radiation of cerium and praseodymium monopnictides with the NaCl-type structure at high pressures