Role of the stability of charge ordering in exchange bias effect in doped manganites