Crystalline-liquid duality of specific heat in halide perovskite semiconductor