Policies for a sustainable energy future: how do renewable energy subsidies work and how can they be improved?