Quantities vs. capacities: Minimizing the social cost of renewable energy promotion