how many republicans and democrats were in the white house in the 1920s