Research and applications of photonics in defense