The United Nations is mounting a major aid operation to try and help more than half a million people who have fled for their lives from extremist Islamic State (IS) fighters in northern Iraq.