Saeed quits as Pakistan manager