Red Sox lose on walk-off single