Models for contingency tables with known margins when target and sampled populations differ