Chemisorption and phase changes on W(100) and Mo(100)