A correlation between the loss of hydrophobic core packing interactions and protein stability