Influence of structure on the acid character of clay minerals as revealed by titrations in water and non-aqueous media