Anisotropic flow of identified particles in Pb-Pb collisions at √sNN=5.02 TeV