Bifurcation Analysis of Spacecraft Attitude Control Systems