Properties of chlorine-doped poly(N-vinylcarbazole) thin films