Automorphisms of curves fixing the order two points of the Jacobian