Pattern and frequency reconfiguration of patch antenna using PIN diodes