At DNC, Biden says 'the days of cozying up to dictators are over' if he wins