Multiscale simulation of loading and electrical resistance in silicon nanoindentation