Obama calls Trump’s election rhetoric ‘dangerous’