Resonance neutron capture by 170Yb and 172Yb