Pātuhitia tēnei: Adaptive antennas and phased arrays for radar and communications