Measurement of the ratio B(t -> Wb)/B(t -> Wq) in pp collisions at root s=8 TeV