Transparent electrodes made from carbon nanotube polyelectrolytes and application to acidic environments