Dellin Betances thanked by Yankees after signing with Mets