Cinven, Permira and Mid Europa to buy Allegro for $3.25bn