Ring Transformation Reactions in 4-Nitroimidazoles Following an Attack of Nucleophiles.