NATO chief, global energy agency head discuss energy security