Using digital pills, researchers find patients consume fewer opioids than expected