U.S. spending on medicines fell for first time in 2012