Wavelet analysis of bifurcation in a competition model