Geometry of diagonal-effect models for contingency tables