Noncongruence of the nuclear liquid-gas and deconfinement phase transitions