Contact Hamiltonian systems