Hillary Clinton and Donald Trump traded barbs and policy proposals in the first presidential debate at Hofstra University in New York.