The host dark matter haloes of [O II] emitters at 0.5 < z < 1.5