Theoretical calculations of diatomic metal oxides. CrO and CrO