Transverse vertices in electrodynamics and the gauge technique