Gripping devices in the form of loops or baskets for gripping calculi or similar types of obstructions