Perfect cells, direct models and contingency table outliers