Torsional vibration of crankshafts: effects of nonconstant moments of inertia