Ingestible devices for long-term gastrointestinal residency: a review