Bifurcation with two parameters in two-dimensional complex space. Applications to laser systems