[grids] make some parameters mandatory

In particular, you now have to provide subentity and superentity
codims when calling subentities() or superentities().