Homogenized halides and alkali cation segregation in alloyed organic-inorganic perovskites