Pair of homers boosts Mariners vs. Giants