Pulse shape discrimination in proportional counters - theory of electronic system