Search for CP violation in tt¯ production and decay in proton-proton collisions at √s=8 TeV