Chemical vapor deposition of carbon films: in-situ plasma diagnostics