Dynamics of a torsional system with harmonically varying dry friction torque