Former president Barack Obama told Kamala Harris he "couldn't be prouder" as he endorsed her to replace Joe Biden as the Democratic candidate for the US election.