Zemach moments for hydrogen and deuterium