Electromagnetic field coupling to a transmission line of finite length over a perfectly conducting ground