Search for associated production of a Z boson with a single top quark and for tZ flavour-changing interactions in pp collisions at sqrt(s) = 8 TeV