Ring-chain tautomerism of 3-bromo-5-nitro-2-hydroxycinnamaldehyde and its imines