Structure of barium chlorapatite