A topological approach to studies of ordered structures of absorbed gases in host lattices (I). The structure of γ-PdD0.5