Hierarchies of language families of contextual grammars