Elliptic and triangular flow of (anti)deuterons in Pb-Pb collisions at √sNN =5.02 TeV