Afghanistan fears Swat deal may harm its security