A Generalized Flat-Topped Beam Synthesis Approach for Uniform Linear Array With Arbitrary Beam Directions