Perturbative renormalization of QED via flow equations