Far-infrared absorption in solid hydrogen and deuterium in the ordered state as a function of density