Electronic changes of dysprosium and tungsten during growth of Dy on W(100)