Method and system for optical communication comprising osnr monitoring by use of optical homodyne