Competitive Electricity Markets: Design,