Ambient Light Sensor with Dark Current Compensation