how is the number of electoral collage seats per state determined?