Supersymmetry and localization