Mark Melancon blew a two-run lead in the ninth inning as the Giants were swept by the Rockies for the first time ever in a four-game series.