Obama compares Trump to a 'two-bit dictator'