Ejecta Formations and Pre-Impact Stratigraphy of Lunar and Terrestrial Craters: Possible Implications for the Ancient Lunar Crust