The temperature dependence of the dielectric constant in solid H2, D2,4He, and Ne