Analyzing rectangular tables by joint and constrained multidimensional scaling