Bifurcation of Periodic Orbits of a Three-Dimensional Piecewise Smooth System