Generics saved $1 trillion over last 10 years, study finds