Freshfields in merger talks with German firm