An amazing coincidence of formulas for the unit root part of crystalline cohomology and the density of states for physical crystals