Far-right surge in elections shakes up European Parliament