Computing Cournot equilibria in two settlement electricity markets with transmission constraint