Electronic properties of a semi-infinite ionic crystal chain