Obama tells polarized nation: 'We can be better'