Discharge diagnosis and controlled deposition of SnOx:F films by DC-reactive sputtering from a metallic tin target