Prince William and Princess Kate have congratulated Team GB following the Summer Olympics 2024 closing ceremony.