Wind turbines and solar panels are key to a clean energy future, but generating greener electricity is only half of the challenge.