Measurement of pseudorapidity distributions of charged particles in proton-proton collisions at root s=8 TeV by the CMS and TOTEM experiments