A wide-range logarithmic electrometer with improved accuracy and temperature stability