The Democratic and Republican conventions clashed in style and message as President Donald Trump and former Vice President Joe Biden look to November.