Internal kinematics of spiral galaxies in distant clusters IV. Gas kinematics of spiral galaxies in intermediate redshift clusters and in the field — arXiv2