Double cascade reconstruction in the Baikal-GVD neutrino telescope