Optimal cell approach to osmotic properties of finite stiff-chain polyelectrolytes.