President Barack Obama slams Donald Trump