Search for CP violation in ttH and tH production in multilepton channels in proton-proton collisions at sqrt(s) = 13 TeV