Ingestible, expanding pill monitors the stomach for up to a month