Crystal structure and physical properties of Cr and Mn oxides with 3d3 electronic configuration and a K2NiF4-type structure