Spectroscopic and electrochemical properties of 1- or 2-alkyl substituted 5- and 6-nitroindazoles