Outgoing NATO chief takes swipe at countries not paying their fair share on defence