Bed, Bath & Beyond profit slips but beats view