Sharp edges of planetary rings