Lightning electromagnetic radiation over a stratified conducting ground ─ Part I: formulation and numerical evaluation of the electromagnetic fields