Twist of the mitotic spindle culminates at anaphase onset and depends on microtubule-associated proteins along with external forces