Adaptive beamforming with generalized linear constraints