Bed Bath & Beyond sales, earnings up in Q2