Swallowable sensors give an inside look at how cows are doing