N,N'-dialkylimidazolium chloroplatinate(II), chloroplatinate(IV), and chloroiridate(IV) salts and an N-heterocyclic carbene complex of platinum(II): synthesis in ionic liquids and crystal structures.