Pattern-reconfigurable antenna using four-elements dipole array for 5G beam-switching applications