Modulation instability of ultrashort pulses in quadratic nonlinear media beyond the slowly varying envelope approximation