Measurement of the tau branching fractions into leptons