Asymptotic conditions and infrared divergences in quantum electrodynamics