Angular coefficients of Z bosons produced in pp collisions at s=8 TeV and decaying to μ+μ− as a function of transverse momentum and rapidity