Walmart and Target’s quarterly results lay bare retailers’ differences