A general strategy based on the Newton-Euler approach for the dynamic formulation of parallel manipulators