Degrees of grammatical productivity in inflectional morphology