Marchionne to become Ferrari chairman as Montezemolo quits