Compact Photonic Integrated Phase and Amplitude Controller for Phased-Array Antennas