Hamiltonian adaptive resolution simulation for molecular liquids