Search for CP violation in top quark-antiquark production and decay in proton-proton collisions at sqrt(s) = 8 TeV