A discrete dislocation plasticity analysis of grain-size strengthening