Chadwick Tromp, Donovan Solano, Brandon Belt hit home runs as Giants overcome early deficit.