Comparative spectroscopic and electrochemical study of N-1 or N-2-alkylated 4-nitro and 7-nitroindazoles