Microscopic self-dynamics in liquid hydrogen and in its mixtures with deuterium