Ingestible devices for studying the gastrointestinal physiology and their application in oral biopharmaceutics.