Localization techniques in quantum field theories