Spanish construction firm FCC has sold a majority stake in its renewables division for €8 million ($11 million).