Interaction of He atoms with (111) and (100) surfaces of Cu and Ni