A new coordination number model and heat capacity of square-well fluids of variable width