Azimuthal anisotropy of D-meson production in Pb-Pb collisions at root s(NN)=2.76 TeV