Layer-stacking irregularities in C36-type Nb–Cr and Ti–Cr Laves phases and their relation with polytypic phase transformations