Surface electronic structure of Tm(0001) and Yb(111)