Competence and performance profiling for constraint-based grammars: a new methodology, toolkit, and applications