A coefficient of discrimination for use with nominal and ordinal regression models