Wide dynamic range CMOS image sensor with in-pixel double-exposure and synthesis