Effects of charge sharing in 3-D position sensitive CdZnTe gamma-ray spectrometers