Pakistan says it will no longer grant permission for US bases to be stationed on its soil after its forces are pulled out of Afghanistan.