Pakistan's defence minister has said that the ​country ‌is in an "open ​war" with neighbouring Afghanistan, after both nations launched airstrikes overnight.