Hamiltonian of mean force for damped quantum systems.