Calculation of voltages induced by nearby lightning on overhead lines terminated on distribution transformers