FDA approves pill with sensor to digitally track medication ingestion