In a bid to accelerate the transition to renewable energies, France has passed a bill requiring large car parks to instal solar panels.