Measurement of electroweak production of two jets in association with a Z boson in proton-proton collisions at root s=8 TeV