Stanton homers in 8th, Marlins beat Rockies 6-3