Electronic excitations in shocked nitromethane