Seismic codas on the Earth and the Moon: a comparison