Reference Pricing, Competition, and Pharmaceutical Expenditures: Theory and Evidence from a Natural Experiment