Lightning-induced electric fields in the ionosphere