Model for the prediction of the mechanical behaviour of nanocrystalline materials