Temperature dependence of atom–atom potential in molecular crystals