The structures of lithium-inserted metal oxides: LiReO3 and Li2ReO3