Mixing the carrots with the sticks: third party punishment and reward