Raising prices, Beyond Meat shrinks losses in second quarter