Electrostatic effects on cluster simulation of ionic crystals and surfaces