Investment Efficiency in Competitive Electricity Markets With and Without Time-Varying Retail Prices