Deformation at the nanometer and micrometer length scales: Effects of strain gradients and dislocation starvation