Joe Biden has said it is "time to heal" the US in his first speech as president-elect, vowing "not to divide but to unify" the country.