Systematic effects in cosmic shear measurements for future ground-based optical surveys