Electric stimulation in the treatment of chronic wounds