Deformation behavior of perfect and imperfect nanomaterials made of intermetallic compounds with bcc lattice