French Socialists see reason to hope with Greens in turmoil