Nitrosation, diazotisation, and deamination