UK firms advise on Cap Gemini merger