Barcelona boss Xavi says he is "delighted and grateful" after renewing his managerial contract with the club to 2025.