Statistical Mechanics: Why is the relationship between the Helmholtz free energy and the partition function more fundamental than the relationship between another free energy and the partition function?