Work and power of electric current