Presidiential candidate Joe Biden has criticized President Donald Trump's response to riots in US cities. "The president should be part of the solution, not part of the problem," Biden said.