Molecular motion of hydrogen in liquid argon and neon