Nato agrees to ramp up defence spending and says collective security is 'ironclad'