An electrochemical impedance study of thin polycarbazole films