Energy recovery linac based fully coherent light source