Design optimization of linear arrays and time‐modulated antenna arrays using meta‐heuristics approach