Text this: Collision detection and external force estimation for robot manipulators using a composite momentum observer