Spin filtering with perovskite and spinel oxides