Pakistan calls northern Iraq referendum illegitimate