Study of the K0 Λ and K0 Σ0 final states from π−p interactions at 3.9 GeV/c