Fast photodiode diagnostic on Alcator C-Mod tokamak to study the plasma edge/SOL structure