Study finds cost of medication rising faster than inflation