Calculation of transient electromagnetic field around a transmission line subjected to lightning strokes