Crystal structures of compounds obtained from lead(II) iodide-hexamethylenetetramine system, [C6H13N4]2[Pb3I8(C6H12N4)2] and [C6H13N4][PbI3].