An analysis of a forward capacity market with long-term contracts