Ball-and-socket joint