‘Both countries formally confirmed their willingness and ability to meet the political, legal and military obligations and commitments of NATO membership,’ says alliance