Improved methods for the N-nitration of amides