Second harmonic beam shaping and sensing in dielectric bow-tie antenna via convex optimization array synthesis approach