Wide dynamic range pulse modulation image sensor for on-chip bioimaging applications