Nolasco, Marlins stop streaking Giants in 5-1 win