Optimum beamforming for sidelobe reduction in ultrasound imaging