Yield strength of metals as a function of grain size