Diagnostics of parameters by optical emission spectroscopy and Langmuir probe in a discharge of Ar/N2/CH4 ternary mixture