Interlayer shear of nanomaterials: Graphene—graphene, boron nitride—boron nitride and graphene—boron nitride