most substances contract when they freeze so that the densit