Integrated photonics for quantum technologies