Barrero gets key hit as Reds stop slide with win over Cubs