Anharmonic effects in inert gas solids. II. Method applied to Ne, Ar, Kr, Xe