Parametric resonance of a nonlinear energy harvester for torsional vibrations