France lags its neighbours on renewable energy with about 45 gigawatts (GW) of installed wind and solar power capacity, and has fallen behind targets set by the European Commission.