Pena hits slam, then adds winning single vs Rivera