Local impurity puffing as a scrape-off layer diagnostic on the Alcator C-Mod tokamak