A tiny pill monitors vital signs from deep inside the body