Obama accuses Trump of exploiting fears of working class