Exchange of stability and bifurcation for periodic differential systems