Cross sections and polarizations in the reactionsπ−p→ΛK0andπ−p→ΛK*0(890)near the backward direction, from 3 to 6 GeV/c