Image sensor and method of driving image sensor, and image capturing apparatus using the same