Calculation of ion displacements in the stepped and kinked sodium chloride crystal surfaces