A new defect model to describe the oxygen deficiency in perovskite-type oxides