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