Radiative τ decay and the magnetic moment of the muon