Surface electronic structure and magnetic properties of doped manganites