Initial direct current in the buildup of space charges and the acidity of ice cores