Bifurcation of 2-periodic orbits from non-hyperbolic fixed points