Thermally activated plastic flow of metals and ceramics with an electric field or current