Fermion mass and width in QED in a magnetic field