French president urges major parties to form coalition after snap polls