Measurement of Z → τ + τ − production in proton-proton collisions at √s=8 TeV