Influence of counterion concentration on equilibria and conformational properties of linear weak-acid polyelectrolytes