Renewable portfolio standards and cost-effective energy-efficiency investment