Relaxation Runge–Kutta Methods for Hamiltonian Problems