Bertrand-Edgeworth competition with sequential capacity choice