Measurement of the branching fractions of the radiative leptonic τ decays τ →eγν ν ¯ and τ →μγν ν ¯ at BABAR