Generalization of Nosé's isothermal molecular dynamics: Non-Hamiltonian dynamics for the canonical ensemble.