Australia has been urged to do better on keeping children and Indigenous people out of prison, treat refugees and asylum seekers more fairly and step up its efforts to fight climate change, in a major United Nations review of its human rights record.