Generalized coordinate hybrid Monte Carlo