Mercedes and Lewis Hamilton have confirmed that their partnership will come to an end after the 2024 season