Design and characterization of a photonic integrated circuit for beam forming in 5G wireless networks