Mixture unified gradient theory: a consistent approach for mechanics of nanobars