Observation of strontium segregation in LaAlO3/SrTiO3 and NdGaO3/SrTiO3 oxide heterostructures by X-ray photoemission