Synthesis of iron oxide nanorods and nanocubes in an imidazolium ionic liquid