LEM: A general program for the analysis of categorical data. Users manual