Quantum communication based on integrated optics