The European executive has responded to electoral earthquakes in France and Greece by calling for a shift towards growth across the European Union.