Search for lepton-flavor-violating decays of the Z boson into a τ lepton and a light lepton with the ATLAS detector