Voting ends in Michigan, Texas, New York, Wisconsin and other states, with western polling places still open