Measurement of inclusive W and Z boson production cross sections in pp collisions at $\sqrts$ = 8 TeV