Crystal and magnetic structures of magnetic topological insulatorsMnBi2Te4andMnBi4Te7