Discrete dislocation simulation of nanoindentation: the effect of moving conditions and indenter shape