Atomic and electronic structure of an alloyed topological insulator, Bi1.5Sb0.5Te1.7Se1.3