A variational treatment of the effects of vibrational anharmonicity on gas-phase electron diffraction intensities: Part II. Temperature dependence