Mylan acquires rights to two Valeant drugs