The leaders of the euro zone's biggest economies said Europe had to turn its back on populists who blamed Brussels for all its problems.