Equation of state of rare-gas crystals near their metallization