Shape evolution of Zr nuclei and roles of the tensor force