Low-power dual voltage comparator