Non-polytropic effect on shock-induced phase transitions in a hard-sphere system