An electron microscope study of perovskite-related oxides in the SrTiO system