Chemo-Mechanical Interactions to Improve Intestinal Retention of Ingestible Medical Devices