Short-distance behavior of quantum electrodynamics and the Callan--Symanzik equation for the photon propagator