Pattern optimization of focused beamformer for microphone arrays