Study of polycristalline diamond deposition by continuous and pulsed discharges