French left coalition comes out on top in elections, in shock upset over far right