Twist transitions and force generation in cholesteric liquid crystal films