UN demands action as famine looms in three countries