Electronically reconfigurable parasitic antenna array for pattern selectivity