A model describing the energy distribution of ions bombarding electrodes in an RF-plasma reactor