Electrodynamics in terms of retarded fields