The preparation and structural properties of trivalent lanthanide and actinide oxide iodides