A former national security advisor explains how India can modernise its military tech