A semi-empirical equation for oxygen nonstoichiometry of perovskite-type ceramics