An Adaptive Coarse Space for P.L. Lions Algorithm and Optimized Schwarz Methods