NATO Secretary General to visit Latvia and Poland