Novartis, Medicis cut generics deals