which state borders montana on the west?