Effect of ionic solutions on clay minerals crystal chemistry.