Elasto-plastic simulation of a direct shear test on rough rock joints