Edge effects in electrostatic calibrations for the measurement of the Casimir force