A flexible numerical optimization approach to the design of biquad filter cascades