Linear-Logarithmic Two-Transistor Active Pixel Sensor with Variable Dynamic Range