Distribution of electronic reconstruction at the n-type LaAlO3/SrTiO3 interface revealed by hard x-ray photoemission spectroscopy