Effect of exchange currents on orbital g-factors and E1 sum rule for photoabsorption