The relationship of thermal expansion to magnetocrystalline anisotropy, spontaneous magnetization, and Tc for permanent magnets