New formulas for the electromagnetic field of a vertical electric dipole in a dielectric or conducting half‐space near its horizontal interface