Integration of Self-Adaptive Physical-Layer Key Distribution and Encryption in Optical Coherent Communication