Efficiency and sustainability in restructured electricity markets: the renewables portfolio standard