Margarita, Parma, Herzogin