Maserati beats Ferrari in Q3 profit on Montezemolo exit