Nato’s new general secretary has warned member states that they need to spend more on defence