Investigation of the edge ion-to-electron temperature ratio in the J-TEXT tokamak