Ab initiopseudopotential description of cohesion in NaCl