The influence of surface terminal layer and surface defects on the electronic structure of CMR perovskites: La0.65A0.35MnO3 (A = Ca, Sr, Ba)