Spears' walkoff homer lifts PawSox past Bats