Direct observation of the atomic structure of interfaces in the systems Si-SiO2 and Ge-GeO2