Strain engineering in two-dimensional nanomaterials beyond graphene