Electrical conduction and deep levels in polycrystalline diamond films