Numerical simulation of RF discharges for plasma processing