Efficient algorithms for rigid body integration using optimized splitting methods and exact free rotational motion.