Categorical Regression Splines