Nitrogen doping and infusion in SRF cavities: A review